package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-空行程测试结果对象 data_tshj_kxch_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@Getter
@ApiModel(value = "提升机-空行程测试结果对象")
public class DataTshjKxchResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 空行程测试结果ID */
    private Long kxchId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 空行程左时间 */
    @Excel(name = "空行程左时间")
    @ApiModelProperty(value = "空行程左时间")
    private String kxcLtime;

    /** 空行程右时间 */
    @Excel(name = "空行程右时间")
    @ApiModelProperty(value = "空行程右时间")
    private String kxcRtime;

    /** 闸序号 */
    @Excel(name = "闸序号")
    @ApiModelProperty(value = "闸序号")
    private String zhaIndex;


    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setKxchId(Long kxchId)
    {
        this.kxchId = kxchId;
    }

    public void setDataTaskId(Long dataTaskId)
    {
        this.dataTaskId = dataTaskId;
    }


    public void setZhaIndex(String zhaIndex)
    {
        this.zhaIndex = zhaIndex;
    }

    public void setKxcLtime(String kxcLtime) {
        this.kxcLtime = kxcLtime;
    }

    public void setKxcRtime(String kxcRtime) {
        this.kxcRtime = kxcRtime;
    }

    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kxchIdResult", getKxchId())
            .append("dataTaskId", getDataTaskId())
            .append("zhaIndex", getZhaIndex())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
